home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / WiredSprites / Clippings / CreateMovieFile.clp < prev    next >
MacBinary  |  2000-10-06  |  1.9 KB  |  [clpt/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert TRS-80 CLP File (image/trs80Clp) ext Supported
66% dexvert PC Paint Image (image/pcPaint) ext Supported
66% dexvert Windows Clipboard (image/windowsClipboard) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Quattro Pro Clip Art (image/quattroProClipArt) ext Unsupported
1% dexvert Home Plan Pro 5 Clip (other/homePlanPro5Clip) ext Unsupported
100% file MacBinary II, inited, Thu May 11 19:36:56 2000, modified Fri Oct 6 15:37:41 2000, creator 'drag', type 'clpt' "CreateMovieFile.clp", at 0x80 1688 bytes resource Apple HFS/HFS+ resource fork, map offset 0x652, map length 0x46, data length 0x552, nextResourceMap 0x7ac3e30, fileRef 0x222, list offset 0x1c, name offset 0x46, 2 types, 0x54455854 'TEXT' * 1 resource offset 0x12 default (weak)
99% file data default
74% TrID Mac Text clippings (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 43 72 65 61 74 65 | 4d 6f 76 69 65 46 69 6c |..Create|MovieFil|
|00000010| 65 2e 63 6c 70 00 00 00 | 00 00 00 00 00 00 00 00 |e.clp...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 06 98 b5 40 f4 98 b6 |........|....@...|
|00000060| 03 da 85 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a0 0d 00 00 |........|........|
|00000080| 00 00 01 00 00 00 06 52 | 00 00 05 52 00 00 00 46 |.......R|...R...F|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 13 43 72 65 61 74 65 4d | 6f 76 69 65 46 69 6c 65 |.CreateM|ovieFile|
|000000c0| 2e 63 6c 70 65 2e 63 6c | 70 6c 70 6c 70 70 70 79 |.clpe.cl|plplpppy|
|000000d0| 02 00 63 6c 70 74 64 72 | 61 67 01 00 00 00 00 01 |..clptdr|ag......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 b5 40 ed 90 00 00 | 00 00 00 00 06 98 00 00 |...@....|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 05 2a 09 2f 2f 20 | 63 72 65 61 74 65 20 61 |...*.// |create a|
|00000190| 20 6d 6f 76 69 65 20 66 | 69 6c 65 20 66 6f 72 20 | movie f|ile for |
|000001a0| 74 68 65 20 64 65 73 74 | 69 6e 61 74 69 6f 6e 20 |the dest|ination |
|000001b0| 6d 6f 76 69 65 0d 09 6d | 79 45 72 72 20 3d 20 43 |movie..m|yErr = C|
|000001c0| 72 65 61 74 65 4d 6f 76 | 69 65 46 69 6c 65 28 26 |reateMov|ieFile(&|
|000001d0| 6d 79 46 69 6c 65 2c 09 | 09 09 09 2f 2a 20 66 73 |myFile,.|.../* fs|
|000001e0| 73 70 65 63 20 66 6f 72 | 20 74 68 65 20 6d 6f 76 |spec for| the mov|
|000001f0| 69 65 20 74 6f 20 62 65 | 20 63 72 65 61 74 65 64 |ie to be| created|
|00000200| 20 2a 2f 0d 09 09 09 09 | 09 09 09 46 4f 55 52 5f | */.....|...FOUR_|
|00000210| 43 48 41 52 5f 43 4f 44 | 45 28 27 54 56 4f 44 27 |CHAR_COD|E('TVOD'|
|00000220| 29 2c 09 2f 2a 20 63 72 | 65 61 74 6f 72 20 76 61 |),./* cr|eator va|
|00000230| 6c 75 65 20 66 6f 72 20 | 74 68 65 20 6e 65 77 20 |lue for |the new |
|00000240| 66 69 6c 65 20 2a 2f 0d | 09 09 09 09 09 09 09 73 |file */.|.......s|
|00000250| 6d 53 79 73 74 65 6d 53 | 63 72 69 70 74 2c 09 09 |mSystemS|cript,..|
|00000260| 09 2f 2a 20 73 63 72 69 | 70 74 20 69 6e 20 77 68 |./* scri|pt in wh|
|00000270| 69 63 68 20 74 68 65 20 | 6d 6f 76 69 65 20 66 69 |ich the |movie fi|
|00000280| 6c 65 20 73 68 6f 75 6c | 64 20 62 65 20 63 72 65 |le shoul|d be cre|
|00000290| 61 74 65 64 20 2a 2f 0d | 09 09 09 09 09 09 09 6d |ated */.|.......m|
|000002a0| 79 46 6c 61 67 73 2c 09 | 09 09 09 2f 2a 20 6d 6f |yFlags,.|.../* mo|
|000002b0| 76 69 65 20 63 72 65 61 | 74 69 6f 6e 20 66 6c 61 |vie crea|tion fla|
|000002c0| 67 73 20 2a 2f 0d 09 09 | 09 09 09 09 09 26 6d 79 |gs */...|.....&my|
|000002d0| 52 65 73 52 65 66 4e 75 | 6d 2c 09 09 09 2f 2a 20 |ResRefNu|m,.../* |
|000002e0| 66 69 6c 65 20 72 65 66 | 65 72 65 6e 63 65 20 66 |file ref|erence f|
|000002f0| 6f 72 20 6d 6f 76 69 65 | 20 66 69 6c 65 20 72 65 |or movie| file re|
|00000300| 74 75 72 6e 20 68 65 72 | 65 20 2a 2f 0d 09 09 09 |turn her|e */....|
|00000310| 09 09 09 09 26 6d 79 4d | 6f 76 69 65 29 3b 09 09 |....&myM|ovie);..|
|00000320| 09 09 2f 2a 20 6e 65 77 | 20 6d 6f 76 69 65 20 69 |../* new| movie i|
|00000330| 64 65 6e 74 69 66 69 65 | 72 20 72 65 74 75 72 6e |dentifie|r return|
|00000340| 20 68 65 72 65 20 2a 2f | 0d 09 69 66 20 28 6d 79 | here */|..if (my|
|00000350| 45 72 72 20 21 3d 20 6e | 6f 45 72 72 29 0d 09 09 |Err != n|oErr)...|
|00000360| 67 6f 74 6f 20 62 61 69 | 6c 3b 0d 09 0d 09 2f 2f |goto bai|l;....//|
|00000370| 20 73 65 6c 65 63 74 20 | 74 68 65 20 22 6e 6f 20 | select |the "no |
|00000380| 63 6f 6e 74 72 6f 6c 6c | 65 72 22 20 6d 6f 76 69 |controll|er" movi|
|00000390| 65 20 63 6f 6e 74 72 6f | 6c 6c 65 72 20 6f 70 74 |e contro|ller opt|
|000003a0| 69 6f 6e 0d 09 6d 79 54 | 79 70 65 20 3d 20 45 6e |ion..myT|ype = En|
|000003b0| 64 69 61 6e 55 33 32 5f | 4e 74 6f 42 28 6d 79 54 |dianU32_|NtoB(myT|
|000003c0| 79 70 65 29 3b 0d 09 53 | 65 74 55 73 65 72 44 61 |ype);..S|etUserDa|
|000003d0| 74 61 49 74 65 6d 28 47 | 65 74 4d 6f 76 69 65 55 |taItem(G|etMovieU|
|000003e0| 73 65 72 44 61 74 61 28 | 6d 79 4d 6f 76 69 65 29 |serData(|myMovie)|
|000003f0| 2c 0d 09 09 09 09 09 26 | 6d 79 54 79 70 65 2c 0d |,......&|myType,.|
|00000400| 09 09 09 09 09 73 69 7a | 65 6f 66 28 6d 79 54 79 |.....siz|eof(myTy|
|00000410| 70 65 29 2c 0d 09 09 09 | 09 09 6b 55 73 65 72 44 |pe),....|..kUserD|
|00000420| 61 74 61 4d 6f 76 69 65 | 43 6f 6e 74 72 6f 6c 6c |ataMovie|Controll|
|00000430| 65 72 54 79 70 65 2c 0d | 09 09 09 09 09 31 29 3b |erType,.|.....1);|
|00000440| 0d 09 0d 09 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 0d 09 |....////|//////..|
|00000450| 2f 2f 0d 09 2f 2f 20 63 | 72 65 61 74 65 20 74 68 |//..// c|reate th|
|00000460| 65 20 73 70 72 69 74 65 | 20 74 72 61 63 6b 20 61 |e sprite| track a|
|00000470| 6e 64 20 6d 65 64 69 61 | 0d 09 2f 2f 0d 09 2f 2f |nd media|..//..//|
|00000480| 2f 2f 2f 2f 2f 2f 2f 2f | 0d 09 0d 09 6d 79 54 72 |////////|....myTr|
|00000490| 61 63 6b 20 3d 20 4e 65 | 77 4d 6f 76 69 65 54 72 |ack = Ne|wMovieTr|
|000004a0| 61 63 6b 28 6d 79 4d 6f | 76 69 65 2c 0d 09 09 09 |ack(myMo|vie,....|
|000004b0| 09 09 09 09 28 28 6c 6f | 6e 67 29 6b 53 70 72 69 |....((lo|ng)kSpri|
|000004c0| 74 65 54 72 61 63 6b 57 | 69 64 74 68 20 3c 3c 20 |teTrackW|idth << |
|000004d0| 31 36 29 2c 09 2f 2a 20 | 64 69 73 70 6c 61 79 20 |16),./* |display |
|000004e0| 77 69 64 74 68 20 69 6e | 20 70 69 78 65 6c 73 20 |width in| pixels |
|000004f0| 2a 2f 0d 09 09 09 09 09 | 09 09 28 28 6c 6f 6e 67 |*/......|..((long|
|00000500| 29 6b 53 70 72 69 74 65 | 54 72 61 63 6b 48 65 69 |)kSprite|TrackHei|
|00000510| 67 68 74 20 3c 3c 20 31 | 36 29 2c 09 2f 2a 20 64 |ght << 1|6),./* d|
|00000520| 69 73 70 6c 61 79 20 68 | 65 69 67 68 74 20 69 6e |isplay h|eight in|
|00000530| 20 70 69 78 65 6c 73 20 | 2a 2f 0d 09 09 09 09 09 | pixels |*/......|
|00000540| 09 09 6b 4e 6f 56 6f 6c | 75 6d 65 29 3b 09 09 09 |..kNoVol|ume);...|
|00000550| 09 09 09 09 2f 2a 20 76 | 6f 6c 75 6d 65 20 73 65 |..../* v|olume se|
|00000560| 74 74 69 6e 67 20 6f 66 | 20 74 68 65 20 74 72 61 |tting of| the tra|
|00000570| 63 6b 20 2a 2f 0d 09 6d | 79 4d 65 64 69 61 20 3d |ck */..m|yMedia =|
|00000580| 20 4e 65 77 54 72 61 63 | 6b 4d 65 64 69 61 28 6d | NewTrac|kMedia(m|
|00000590| 79 54 72 61 63 6b 2c 0d | 09 09 09 09 09 09 09 53 |yTrack,.|.......S|
|000005a0| 70 72 69 74 65 4d 65 64 | 69 61 54 79 70 65 2c 09 |priteMed|iaType,.|
|000005b0| 09 2f 2a 20 74 79 70 65 | 20 6f 66 20 6d 65 64 69 |./* type| of medi|
|000005c0| 61 20 74 6f 20 63 72 65 | 61 74 65 20 2a 2f 0d 09 |a to cre|ate */..|
|000005d0| 09 09 09 09 09 09 6b 53 | 70 72 69 74 65 4d 65 64 |......kS|priteMed|
|000005e0| 69 61 54 69 6d 65 53 63 | 61 6c 65 2c 09 2f 2a 20 |iaTimeSc|ale,./* |
|000005f0| 6d 65 64 69 61 20 74 69 | 6d 65 20 73 63 61 6c 65 |media ti|me scale|
|00000600| 20 2a 2f 0d 09 09 09 09 | 09 09 09 4e 55 4c 4c 2c | */.....|...NULL,|
|00000610| 09 09 09 09 09 2f 2a 20 | 64 61 74 61 20 72 65 66 |...../* |data ref|
|00000620| 2c 20 70 61 73 73 20 6e | 69 6c 20 74 6f 20 75 73 |, pass n|il to us|
|00000630| 65 20 74 68 65 20 66 69 | 6c 65 20 74 68 65 20 6d |e the fi|le the m|
|00000640| 6f 76 69 65 20 77 61 73 | 20 63 72 65 61 74 65 64 |ovie was| created|
|00000650| 20 69 6e 20 2a 2f 0d 09 | 09 09 09 09 09 09 30 29 | in */..|......0)|
|00000660| 3b 09 09 09 09 09 09 2f | 2a 20 64 61 74 61 20 72 |;....../|* data r|
|00000670| 65 66 20 74 79 70 65 2c | 20 70 61 73 73 20 6e 69 |ef type,| pass ni|
|00000680| 6c 20 74 6f 20 75 73 65 | 20 74 68 65 20 66 69 6c |l to use| the fil|
|00000690| 65 20 74 68 65 20 6d 6f | 76 69 65 20 77 61 73 20 |e the mo|vie was |
|000006a0| 63 72 65 61 74 65 64 20 | 69 6e 20 2a 2f 0d 00 00 |created |in */...|
|000006b0| 00 20 00 00 00 01 00 00 | 00 04 00 00 00 00 00 00 |. ......|........|
|000006c0| 00 01 54 45 58 54 00 00 | 01 00 00 00 00 00 00 00 |..TEXT..|........|
|000006d0| 00 00 00 00 01 00 00 00 | 06 52 00 00 05 52 00 00 |........|.R...R..|
|000006e0| 00 46 07 ac 3e 30 02 22 | 00 00 00 1c 00 46 00 01 |.F..>0."|.....F..|
|000006f0| 54 45 58 54 00 00 00 12 | 64 72 61 67 00 00 00 1e |TEXT....|drag....|
|00000700| 01 00 ff ff 00 00 00 00 | 00 a4 81 8c 00 80 ff ff |........|........|
|00000710| 00 00 05 2e 00 a4 80 6c | 00 00 00 00 00 00 00 00 |.......l|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+